package com.dz.mapper;

import com.dz.entity.Dish;
import com.dz.entity.SetMeal;
import com.dz.vo.DishItemVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 鄧浩奇
 * @classname SetmealDishMapper
 * @description
 * @since 2024/1/1 17:46
 **/

@Mapper
public interface SetmealDishMapper {
    List<Dish> selectDishById(Long id);

    List<SetMeal> selectSetmealByDishId(Long id);

    /*
    * 根据套餐id查询包含的菜品
    * */
    List<DishItemVO> selectDishBySetmealId(Long setmealId);
}
